package com.sluggard.security.manage.model.req;

import com.sluggard.mp.model.req.BaseReq;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
    * 操作日志请求体
    * </p>
*
* @author lizheng
* @since 2024-04-28
*/
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "操作日志请求体", description = "操作日志")
public class OlogReq extends BaseReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "操作员ID")
    private Long uid;

    @Schema(description = "模块")
    private String module;

    @Schema(description = "模块名称")
    private String moduleName;

    @Schema(description = "操作")
    private String action;

    @Schema(description = "操作名称")
    private String actionName;

    @Schema(description = "执行时间")
    private Long executeTime;

    @Schema(description = "请求参数")
    private String requestParams;

    @Schema(description = "操作时间")
    private LocalDateTime operateTime;

    @Schema(description = "操作员")
    private String operateUser;

    @Schema(description = "操作结果{1:成功,2:失败}")
    private Boolean operateResult;

    @Schema(description = "消息")
    private String operateMessage;

    @Schema(description = "客户端信息")
    private String clientInfos;
}
